$(function(){
  $.ajax({
    url:'/employee/checkRootLogin',
    dataTpye:'json',
    success:function(info){
      console.log(info);
      if(info.error){
        location.href = 'login.html'
      }
    }
  })
})